#include "IDebug.h"


void IDebug::applySurface(int x, int y,SDL_Surface* source, SDL_Surface* destination){
	
	//Make a temporary rectangle to hold the offsets
    SDL_Rect offset;
    
    //Give the offsets to the rectangle
    offset.x = x;
    offset.y = y;

	 //Blit the surface
    SDL_BlitSurface( source, NULL, destination, &offset );
}